package com.lmb.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lmb.bean.Orders;
import com.lmb.dto.DishDto;
import com.lmb.dto.OrdersDto;
import com.lmb.dto.SetmealDto;
import org.springframework.transaction.annotation.Transactional;

public interface OrderService extends IService<Orders> {

    //添加
    @Transactional
    void submit(Orders orders);

    //查询所有
    Page<OrdersDto> findPage(Integer page, Integer pageSize);
}
